<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<base href="<%=basePath%>"><!-- 相对路径的作用吧 -->
    <title>忘记密码3</title> 
<meta name="keywords" content="网站模板下载,网站后台登录模板,后台登录模板HTML,后台模板登录,后台登录模板下载" />
<meta name="description" content="JS代码网提供大量的网站后台模板下载以及手机网站模板下载" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="UserAndOrder/jic/js/jquery-1.9.0.min.js"></script>
<script type="text/javascript" src="UserAndOrder/jic/images/login.js"></script>
<link href="UserAndOrder/jic/css/login2.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function passwordCom(){
		var p1 = document.getElementById("pass1").value;
		var p2 = document.getElementById("pass2").value;
		if(p2.length<6){
			alert("密码位数不能少于6位");
			return false;
		}
		else if(p1 != p2){
			alert("两次输入密码不一致");
			return false;
		}
		else{
			return true;
		}
	}
</script> 
</head>
<body>
    <h1>找回密码</h1>
<h2 style="margin-left:580px; color: red">${param.type}</h2>
<div class="login" style="margin-top:1px;">
     <div class="web_qr_login" id="web_qr_login" style="display: block; height: 200px;">
    <!--修改密码的form-->
         <div class="web_login" id="web_login">
            <div class="login-box">
				<div class="login_form">
					<form action="SendMailServlet?type=updatePass" onsubmit="return passwordCom()" name="loginform" accept-charset="utf-8" id="login_form" class="loginForm" method="post">
		               <div class="uinArea" id="uinArea">
			                <label class="input-tips" for="u">密码：</label>
			                <div class="inputOuter" id="uArea">
			                    <input type="password" id="pass1" name="pass1" class="inputstyle"/>
			                </div>
		               </div>  
		                
		                <div class="uinArea" id="uinArea">
			                <label class="input-tips" for="">确认：</label>
			                <div class="inputOuter" id="uArea">
			                    <input type="password" id="pass2" name="pass2" class="inputstyle"/>
			                </div>
		               </div>
		                
		               <div style="padding-left:70px;margin-top:1px;">           
		               		<input type="submit" value="确认修改密码" style="width:150px;" class="button_blue" />
		               </div>
		            </form>
		          </div>
         	</div>
         </div>
     <!--修改密码的form-->
	</div>
</div>
<div class="jianyi">*推荐使用ie8或以上版本ie浏览器或Chrome内核浏览器访问本站</div>
</body>
</html>
